package edu.sctu.practice.class01.wangxiaoqiang.day20151112;


import java.util.ArrayList;
import java.util.List;

/**
 * Created by admin on 2015/11/12.
 */
public class ListText {

    public void setList(){
        Student stu = new Student();
        stu.setAge(20);
        stu.getAge();
        stu.setName("z3");
        stu.setSex("nv");
        List<Student> list = new ArrayList<>();
        list.add(stu);
        System.out.println(list);
    }

    public static void main(String[] args) {
        new ListText().setList();
    }


}
